package com.jemmyee.pizza.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "buckle")
public class Buckle implements java.io.Serializable {
	private Integer buckleId;
	private String buckleName;
	private String buckleAddress;
	private String buckleCard;
	private String buckleTel;
	private String buckleBzm;
	private String remark;
	private String buckleType;
	private String password;
	private Date createTime;
	private String createUser;
	private Integer vipPoint;
	private String meterName;
	
	@GenericGenerator(name = "generator", strategy = "assigned")
	@Id
	@GeneratedValue(generator = "generator")
	
	@Column(name = "buckle_id", unique = true, nullable = false)
	public Integer getBuckleId() {
		return buckleId;
	}

	public void setBuckleId(Integer buckleId) {
		this.buckleId = buckleId;
	}
	@Column(name = "buckle_name",length=50)
	public String getBuckleName() {
		return buckleName;
	}

	public void setBuckleName(String buckleName) {
		this.buckleName = buckleName;
	}
	@Column(name = "buckle_address",length=200)
	public String getBuckleAddress() {
		return buckleAddress;
	}

	public void setBuckleAddress(String buckleAddress) {
		this.buckleAddress = buckleAddress;
	}
	@Column(name = "buckle_card",length=50)
	public String getBuckleCard() {
		return buckleCard;
	}

	public void setBuckleCard(String buckleCard) {
		this.buckleCard = buckleCard;
	}
	@Column(name = "buckle_tel",length=50)
	public String getBuckleTel() {
		return buckleTel;
	}

	public void setBuckleTel(String buckleTel) {
		this.buckleTel = buckleTel;
	}
	@Column(name = "buckle_bzm",length=50)
	public String getBuckleBzm() {
		return buckleBzm;
	}

	public void setBuckleBzm(String buckleBzm) {
		this.buckleBzm = buckleBzm;
	}
	@Column(name = "remark",length=200)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Column(name = "buckle_type",length=50)
	public String getBuckleType() {
		return buckleType;
	}

	public void setBuckleType(String buckleType) {
		this.buckleType = buckleType;
	}
	@Column(name = "password",length=50)
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	@Column(name = "create_time")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column(name = "create_user",length=50)
	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	@Column(name = "vip_point")
	public Integer getVipPoint() {
		return vipPoint;
	}

	public void setVipPoint(Integer vipPoint) {
		this.vipPoint = vipPoint;
	}

	@Column(name = "meter_name")
	public String getMeterName() {
		return meterName;
	}

	public void setMeterName(String meterName) {
		this.meterName = meterName;
	}

	public Buckle(Integer buckleId,String buckleName, String buckleAddress, String buckleCard,
			String buckleTel, String buckleBzm, String remark,
			String buckleType, String password, Date createTime,
			String createUser, Integer vipPoint,String meterName) {
		super();
		this.buckleId = buckleId;
		this.buckleName = buckleName;
		this.buckleAddress = buckleAddress;
		this.buckleCard = buckleCard;
		this.buckleTel = buckleTel;
		this.buckleBzm = buckleBzm;
		this.remark = remark;
		this.buckleType = buckleType;
		this.password = password;
		this.createTime = createTime;
		this.createUser = createUser;
		this.vipPoint = vipPoint;
		this.meterName = meterName;
	}

	public Buckle() {
		super();
	}
	
}
